package com.topisv.tms.service.work.prepkg;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.work.prepkg.PrepkgUpDetail;
import com.topisv.tms.repository.work.prepkg.PrepkgUpDetailDao;
/**
 * 上架记录（预包装流程）_service
 * @author ch
 */
@Component
@Transactional(readOnly = true)
public class PrepkgUpDetailService {

	@Autowired
	private PrepkgUpDetailDao prepkgUpDetailDao;

	/**
	 * 查询上架信息
	 * @param taskCode
	 * @return
	 */
	public List<PrepkgUpDetail> loadByTaskCode(String taskCode) {
		return this.prepkgUpDetailDao.loadByTaskCode(taskCode);
	}

}